home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
network
/
mail
/
stmh1_2.lzh
/
STMH1_2.TXT
< prev
next >
Wrap
Text File
|
1995-01-14
|
18KB
|
400 lines
STMH v1.2b
Beta release 14/1/95
Development by Stephen K Mulrine <robotron@moroder.demon.co.uk>
Additions by Graeme Mullin <grm@inedible.demon.co.uk>
Bug reports and comments to stmh@moroder.demon.co.uk
Based (loosely) on the Rand MH Message Handling System.
Requirements
------------
Any Atari ST, TT or Falcon
Hard disk with at least .5MB free
Demon NOS software
Text editor (e.g. Gnome, as supplied with Demon's NOS package)
First-time Installation
-----------------------
1. Print this file! You won't be able to use STMH without a list of
commands.
2. Copy all the .ttp and .bat files into the same directory as the NOS
software.
3. Double-click on "demon.tos" and choose option F (at time of writing) for
"Command Shell".
4. Enter "stmhinst". This will create a directory called "stmh", your first
message folder ("+outgoing"), and a configuration file called "stmh.rc"
using the settings from your "mailer.rc" file. (You may then wish to
examine or edit this file, e.g. "gnome stmh\stmh.rc".)
5. Enter "inc" to extract messages from your mailbox.
Upgrading from v1.1
-------------------
1. Copy all the .ttp and .bat files into the same directory as the NOS
software.
2. Double-click on "demon.tos" and choose option F (at time of writing) for
"Command Shell".
3. Edit your configuration file (e.g. "gnome stmh\stmh.rc") and change the
setting for the "news" variable from "mail2news@news.demon.co.uk" to
"mail2news@peernews.demon.co.uk".
Concepts
--------
STMH uses folders, within which messages are stored. Folder names are
prefixed by a "+". Each message within a folder has a number. Messages can
be moved from folder to folder. And, because folders are independent of one
another, two messages in different folders can have the same number.
There are three "special" folders. "+inbox" is normally used to hold new
(incoming) messages, "+outgoing" holds all your replies until you send them,
and "+sent" optionally holds a copy of all the messages you send.
When you forward or reply to a message, or compose a new one, you create a
new message in the "+outgoing" folder. You don't have to send it straight
away - you can have several messages in "+outgoing" at a time, and only
send a particular message when you've finished working on it.
Just as STMH breaks your mailbox up into separate messages, STMH itself is
broken up into several different programs. (Most other mailers consist of
one program with all the necessary functions built in.) The idea behind
this is that you can intersperse mailer commands with other functions, e.g.
edit a program, reply to somebody's mail, compile the program..
Programs
--------
stmhinst: set up STMH according to existing "mailer" configuration
stmh: list STMH functions (basically shows this list)
inc: read messages from mailbox into folder
scan: give one-line summaries of messages in folder
refile: move a message from one folder to another
rmm: remove a message
folders: list existing folders
show: display a message
next: display next message
prev: display previous message
comp: compose a new message
repl: reply to a message
forw: forward a message
pending: give one-line summaries of messages waiting to be sent
send: send a message
post: post a message as a news article
compact: renumber messages in a folder, starting at 1
whatnow: simple front end used by comp, repl and forw
All the programs, with the exception of stmhinst and stmh, can be run with a
"-help" flag for a full description of command-line arguments without
actually performing that function - "rmm -help" is perfectly safe.
Related files
-------------
stmh.rc: configuration file
signatur: signature file
aliases: list of aliases
If the STMH environment variable is undefined, STMH looks for all these
files in the directory "$NOS_ROOT\stmh".
Environment variables
---------------------
NOS_ROOT: NOS base directory; also used by NOS and SNEWS
STMH: STMH base directory (default is $NOS_ROOT\stmh)
STMHCFG: configuration file (default is $STMH\stmh.rc)
STMHMBX: name of mailbox (default is based on user name)
USERNAME: user name (alternatively USER)
FULLNAME: full name (alternatively NAME)
ORGANIZATION: name of organisation (alternatively ORGANISATION)
HOSTNAME: host name (alternatively HOST)
DOMAINNAME: domain name (alternatively DOMAIN)
TIMEZONE: time zone (alternatively TZ). Default is +0000
EDITOR: name of editor to use (default is "vi")
Configuration file settings (default values shown where appropriate)
--------------------------------------------------------------------
user: user name
mailbox: name of mailbox (only needed if different from user name)
name: full name
host: host name
domain: domain name (not needed if host name includes .demon.co.uk)
editor: name of editor to use (if not set, default to "vi")
org: name of organisation (only used for news articles)
timezone: valid RFC-822 time zone (if not set, defaults to +0000)
archive: save a copy of sent messages in folder "+sent"? (y/N)
us_date: show "inc", "scan" and "pending" dates in US format? (y/N)
backup: keep a backup (.bkp) of all deleted/sent messages? (Y/n)
update: should "inc" make "+inbox" the current folder? (Y/n)
news: email address of mail-to-news gateway
gateway: mail gateway for all mail to be relayed through
reply_quote: quote character to use when replying [>]
forward_quote: quote character to use when forwarding [>]
Note that where an environment variable and a configuration file setting
have the same meaning, the environment variable will always take precedence.
Examples
--------
inc reads mail into folder "+inbox"
inc +new reads mail into folder "+new"
inc root reads mail into folder "+inbox" from root's mailbox
scan summarises messages in current folder
scan +inbox summarises messages in folder "+inbox", also makes "+inbox"
the current folder
refile +jim moves the current message into folder "+jim"
refile 4 +jim moves message 4 in the current folder into folder "+jim"
refile +a +b moves the current message from folder "+a" into folder "+b"
rmm removes the current message
rmm 5 removes message 5 in the current folder
rmm 5 +jim removes message 5 in folder "+jim"
folders lists existing folders - current folder denoted by "*"
show display current message
show 6 display message 6 in the current folder (and set current
message to be 6)
show 6 +jim display message 6 in folder "+jim"
show -full display current message with full headers
show -file f1 save current message to file "f1"
next display message after current message (and set current
message to be this one)
next +jim display next message in folder "+jim"
prev display message before current message (and set current
message to be this one)
prev +jim display previous message in folder "+jim"
comp compose a new message
comp 7 edit message 7 in folder "+outgoing"
comp -file x1 compose a new message, incorporating file "x1"
repl reply to current message
repl 8 reply to message 8 in current folder
repl 8 +jim reply to message 8 in folder "+jim"
repl -full reply to current message, quoting original headers
forw forward current message
forw 9 forward message 9 in current folder
forw 9 +jim forward message 9 in folder "+jim"
forw -full forward current message, quoting original headers
pending summarise messages in "+outgoing" folder
pending -sent summarise messages in "+sent" folder (if "archive" is set in